package com.zros.modules.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zros.modules.business.dto.CreateTeacherDto;
import com.zros.modules.business.dto.QueryTeacherDto;
import com.zros.modules.business.dto.UpdateTeacherDto;
import com.zros.modules.business.entity.Teacher;
import com.zros.modules.business.vo.TeacherInfoVo;

/**
 * <p>
 * 教师表 服务类
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-04-16
 */
public interface ITeacherService extends IService<Teacher> {

	boolean createTeacher(CreateTeacherDto teacher);

	boolean updateTeacher(UpdateTeacherDto updateTeacherDto);

	Page<TeacherInfoVo> selectTeacherList(Page<TeacherInfoVo> page, QueryTeacherDto QueryTeacherDto);
	
	boolean onlyCheck(CreateTeacherDto teacher);
	
	boolean onlyCheck(UpdateTeacherDto teacher);

}
